package com.pur.zsms.matermanage.mater.po;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.hibernate.annotations.GenericGenerator;

import com.pur.zsms.common.vo.BaseEntity;

@SuppressWarnings("serial")
@Entity
@Table(name = "t_shopping_cart_mater")
/**
 * 材料实体类
 * @author 周
 *
 */
public class ShoppingCartMaterPo extends BaseEntity {
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "sid")
	private int sid;

	@Column(name = "mater_id")
	private int materId;

	@Column(name = "sup_id")
	private int supId;

	@Column(name = "cust_id")
	private int custId;

	@Column(name = "mater_level")
	private int materLevel;

	@Column(name = "mater_value")
	private BigDecimal materValue;

	@Column(name = "mater_value_undressed")
	private BigDecimal materValueUndressed;

	@Column(name = "mater_proportion")
	private int materProportion;

	@Column(name = "mater_describe")
	private String materDescribe;

	@Column(name = "mater_num")
	private BigDecimal materNum;

	@Column(name = "leave_message")
	private String leaveMessage;

	public String getLeaveMessage() {
		return leaveMessage;
	}

	public void setLeaveMessage(String leaveMessage) {
		this.leaveMessage = leaveMessage;
	}

	public BigDecimal getMaterNum() {
		return materNum;
	}

	public void setMaterNum(BigDecimal materNum) {
		this.materNum = materNum;
	}

	public int getCustId() {
		return custId;
	}

	public void setCustId(int custId) {
		this.custId = custId;
	}

	public BigDecimal getMaterValueUndressed() {
		return materValueUndressed;
	}

	public int getSupId() {
		return supId;
	}

	public void setSupId(int supId) {
		this.supId = supId;
	}

	public void setMaterValueUndressed(BigDecimal materValueUndressed) {
		this.materValueUndressed = materValueUndressed;
	}

	public int getSid() {
		return sid;
	}

	public void setSid(int sid) {
		this.sid = sid;
	}

	public int getMaterId() {
		return materId;
	}

	public void setMaterId(int materId) {
		this.materId = materId;
	}

	public int getMaterLevel() {
		return materLevel;
	}

	public void setMaterLevel(int materLevel) {
		this.materLevel = materLevel;
	}

	public BigDecimal getMaterValue() {
		return materValue;
	}

	public void setMaterValue(BigDecimal materValue) {
		this.materValue = materValue;
	}

	public int getMaterProportion() {
		return materProportion;
	}

	public void setMaterProportion(int materProportion) {
		this.materProportion = materProportion;
	}

	public String getMaterDescribe() {
		return materDescribe;
	}

	public void setMaterDescribe(String materDescribe) {
		this.materDescribe = materDescribe;
	}

}
